package com.gpframework.module.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * 游客登录请求体
 */
@Data
@ApiModel
@Validated
public class VisitorLoginReq {

     @NotBlank(message = "请输入设备唯一ID")
     @ApiModelProperty(value = "设备唯一ID",required = true)
     private String deviceUniqueId;

     @NotBlank(message = "请输入设备信息")
     @ApiModelProperty(value = "设备信息",required = true)
     private String deviceInfo;

     @ApiModelProperty(value = "安装渠道",required = false)
     private String channel;

     @ApiModelProperty(value = "本机语言",required = false)
     private String nativeLanguage;

}
